<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="author" content="wangbo">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>模块化使用</title>
</head>
<body>

   <script src="./chp09模块演变2.js"></script>
   <script>
   //   需要让函数的内部变量不变,利用闭包解决
   let num = 100
   fn1()
      
   </script>
</body>
</html>